﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data.implement;

namespace Data
{
    public static class DataRepositeryManagerFactory
    {
        public static IChargingRecordRepositery CreateChargingRecordRepositery()
        {
            return new ChargingRecordRepositery();
        }

        public static ICarRepositery CreateCarRepositery()
        {
            return new CarRepositery();
        }

        public static IIndexVisitingInfoRepositery CreateIndexVisitingInfoRepositery()
        {
            return new IndexVisitingInfoRepositery();
        }

        public static IShareVisitingInfoRepositery CreateShareVisitingInfoRepositery()
        {
            return new ShareVisitingInfoRepositery();
        }

        public static IUserRepositery CreateUserRepositery()
        {
            return new UserRepositery();
        }

        public static IPriceRecordRepositery CreatePriceRecordRepositery()
        {
            return new PriceRecordRepositery();
        }
    }
}
